package com.wnxy.admin.service;

import com.github.pagehelper.PageInfo;
import com.wnxy.admin.dto.CarDto;
import com.wnxy.admin.dto.ReservationDto;
import com.wnxy.admin.entity.Reservation;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 预约表 服务类
 * </p>
 *
 * @author lqc
 * @since 2023-11-29
 */
public interface IReservationService extends IService<Reservation> {
    PageInfo<ReservationDto> getAll(Integer pageNum, Integer pageSize, String keyword);
    PageInfo<ReservationDto> getByCustomerId(Integer pageNum, Integer pageSize, String keyword,Integer id);
}
